export default {
  tag: "el-table",
  config: {
    props: {
      data: [],
    },
    style: {
      width: "100%",
    },

    data: {},
  },
  children: [
    {
      tag: "el-table-column",
      config: {
        props: {
          prop: "date",
          label: "日期",
          width: "180",
        },
      },
    },
    {
      tag: "el-table-column",
      config: {
        props: {
          prop: "name",
          label: "姓名",
          width: "180",
        },
      },
    },
    {
      tag: "el-table-column",
      config: {
        props: {
          prop: "address",
          label: "地址",
        },
      },
    },
    {
      tag: "el-table-column",
      config: {
        props: {
          label: "操作",
        },
      },
      __scopedSlots: {
        default: {
          tag: "span",
          config: {},
          children: ["编辑"],
          events: [
            {
              eventName: "click",
              executor: {
                name: ["component", "openForm"],
                params: {
                  targetRef: "dialog1",
                  formId: "9",
                },
              },
            },
          ],
        },
      },
    },
  ],
};
